
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>

#define defaultFileIdKey		@"id"

@protocol EMAsyncFileDelegate <NSObject>

@optional
-(void) fileSuccess:(NSString*)url;
-(void) fileFail:(NSString*)error;
@end

@interface EMAsyncFile : NSObject <NSURLConnectionDelegate>

@property (nonatomic, strong) NSString	*imageId;
@property (nonatomic, strong) NSString	*imageUrl;
@property (nonatomic, strong) NSString	*imageIdKey;
@property(nonatomic,strong) id<EMAsyncFileDelegate> delegate;



@end
